{* Latte template *}

{block content}
<div class="col-sm-offset-3 col-sm-7 col-md-offset-4 col-md-5">
  <div class="content-box user-box row">
    <h1>Změna hesla</h1>
    <div class="password">
    {form changePasswordForm}
      <ul class="errors" n:if="$form->hasErrors()">
        <li n:foreach="$form->errors as $error">{$error}</li>
      </ul>

      <div class="form form-row">
        {label old_password class=>array(form, form-label) /}
        {input old_password class=>array(form, form-text-input)}
      </div>

      <div class="form form-row">
        {label password class=>array(form, form-label) /}
        {input password class=>array(form, form-text-input)}
      </div>

      <div class="form form-row">
        {label password_again class=>array(form, form-label) /}
        {input password_again class=>array(form, form-text-input)}
      </div>

      <div class="button-row center">
        {input send class=>array(button, standard)}
      </div>
    {/form}    
    </div>
  </div>
</div>
{/block}